﻿using System;
using System.IO;

namespace Portal.Workflow.Model
{
    public class IPInfo
    {
        public string HostName;
        public string IPAddress;
    }

    public class GlobalEnvCls
    {
        public static IPInfo ClientIPInfo = null;
        public static string PathRoot()
        {
            return System.Windows.Forms.Application.StartupPath;
        }

        public static Portal.Workflow.Model.UserCls CurrentLoginUser = null;

        private static string mLang = "vie";
        public static string Lang
        {
            get
            {
                return mLang;
            }
            set
            {
                mLang = value;
            }
        }

        public static string WsSecurityCode
        {
            get
            {
                return "WsSecurityCode";
            }
        }

        public static string LicenceCode = "";
        public static string ProcessorId = "";
        public static string CurrentWebPartPath = "";
        
        public static WsInfoCls oWsInfoCls = null;
        public static string ConnectionString = "";
        public static string SiteId = "";
    }
}
